import request from '@/utils/request'

export function saveArModel (data) {
  return request({
    url: '/seismicImpactField/saveArModel',
    method: 'post',
    data: data,
  })
}
export function getById (query) {
  return request({
    url: '/seismicImpactField/getById',
    method: 'get',
    params: query,
  })
}
export function page (query) {
  return request({
    url: '/seismicImpactField/page',
    method: 'get',
    params: query,
  })
}
export function updateById (data) {
  return request({
    url: '/seismicImpactField/updateById',
    method: 'post',
    data: data,
  })
}
export function deleteById (query) {
  return request({
    url: '/seismicImpactField/deleteById',
    method: 'get',
    params: query,
  })
}
export function countInfluenceField (data) {
  return request({
    url: '/seismicImpactField/countInfluenceField',
    method: 'post',
    data: data,
  })
}
export function countSettingSeismicProcess (data) {
  return request({
    url: '/seismicImpactField/countSettingSeismicProcess',
    method: 'post',
    data: data,
  })
}
export function importShp (query) {
  return request({
    url: '/seismicImpactField/importShp',
    method: 'get',
    params: query,
  })
}
export function getAll (query) {
  return request({
    url: '/seismicImpactField/getAll',
    method: 'get',
    params: query,
  })
}
export function getInfluencefliedById (query) {
  return request({
    url: '/seismicImpactField/getInfluencefliedById',
    method: 'get',
    params: query,
  })
}
export function deleteInfluencefliedById (query) {
  return request({
    url: '/seismicImpactField/deleteInfluencefliedById',
    method: 'get',
    params: query,
  })
}